package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.FyData;
import com.ruoyi.system.domain.vo.AdminHomeCountVo;
import com.ruoyi.system.domain.vo.AdminHomehexinCountVo;
import com.ruoyi.system.domain.vo.HomeCountVo;
import com.ruoyi.system.domain.vo.web.WebFyDataVo;

/**
 * 资料Service接口
 *
 * @author ruoyi
 * @date 2025-06-05
 */
public interface IFyDataService
{
    /**
     * 查询资料
     *
     * @param dataId 资料主键
     * @return 资料
     */
    public FyData selectFyDataByDataId(Long dataId);
    public HomeCountVo selectHomecount();
    /**
     * 查询资料列表
     *
     * @param fyData 资料
     * @return 资料集合
     */
    public List<FyData> selectFyDataList(FyData fyData);
    public List<WebFyDataVo> selectwebDataList(Long dataType,String dataFormat,Long projectId,Long peopleId);
    public List<WebFyDataVo> selectwebDataListproject(Long dataType,String dataFormat,Long projectId,Long peopleId);
    public List<WebFyDataVo> selectwebDataListpeople(Long dataType,String dataFormat,Long projectId,Long peopleId);
    public List<WebFyDataVo> selectwebDataListpeopleshi(Long dataType,String dataFormat,Long projectId,Long peopleId);
    public AdminHomeCountVo selectAdminHomecountShujuzonglan();
    public AdminHomehexinCountVo selectAdminHomecountHexinShujuzonglan();
    /**
     * 新增资料
     *
     * @param fyData 资料
     * @return 结果
     */
    public int insertFyData(FyData fyData);

    /**
     * 修改资料
     *
     * @param fyData 资料
     * @return 结果
     */
    public int updateFyData(FyData fyData);

    /**
     * 批量删除资料
     *
     * @param dataIds 需要删除的资料主键集合
     * @return 结果
     */
    public int deleteFyDataByDataIds(Long[] dataIds);

    /**
     * 删除资料信息
     *
     * @param dataId 资料主键
     * @return 结果
     */
    public int deleteFyDataByDataId(Long dataId);
}
